package com.gxa.autoparts.admin.mapper;

import com.gxa.autoparts.core.pojo.OrderItem;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author R
 * @data 2022-01-10 17:33
 */
public interface OrderItemMapper extends Mapper<OrderItem> {

    List<Map<String,Object>> getItemCount(Long orderId);

    void deleteOrderItem(Long orderId);
}
